import { defineConfig } from '@umijs/max';
import routes from './routes';

export default defineConfig({
  history: {
    type: 'hash',
  },
  hash: true,
  // publicPath: './',
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  reactQuery: {},
  styledComponents: {},
  layout: {
    title: 'APTW', //Aagriculture Product Techonology Wesite
  },
  routes,
  npmClient: 'npm',
  locale: {
    default: 'zh-CN',
    antd: true,
    baseNavigator: true,
    title: true,
  },
});
